package com.pucong.gitee.database.backup.common.entity.database.dto;


import com.pucong.gitee.database.backup.common.selfenum.CommonBoolenEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("数据库表 索引 dto")
public class DatabaseTableIndexDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("索引名称")
    private String indexName;

    @ApiModelProperty("索引字段")
    private String filedNames;

    @ApiModelProperty("索引方法")
    private String indexType;

    @ApiModelProperty("是否是唯一键")
    private CommonBoolenEnum disUnique;

    @ApiModelProperty("是否并发")
    private CommonBoolenEnum disClustered;

    @ApiModelProperty("索引描述")
    private String indexComment;
}
